<script type="text/javascript" src="./public/js/customer/customer.js?v=20160421"></script> 

<?php if($customer){ ;?>
<style type="text/css">
    .hide{display: block}
</style>
<?php }?>

<table>
    <input name="id" type="hidden" value="{$id}">
    {loop $thead $key $val}
    <tr>
        <td width="100">{$val['cn_name']}</td>
        <td><input type="text" class="input {$val['class']}" name="{$val['name']}" value="{$customer[$val['name']]}"></td>
    </tr>
    {/loop}
</table>

<div class="mar_top">
    <span class="btn btn_suc submit">{$title}</span>
</div>
    